package com.ply.flashsalessystem.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author XiaoPan
 * date: 2022/4/26 11:11
 * <p>
 * action:
 */
@Data
public class AddGoods {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品 name")
    private String name;

    @ApiModelProperty(value = "分类 id")
    private Integer tagId;

    @ApiModelProperty(value = "商品售价")
    private Double price;

    @ApiModelProperty(value = "剩余量 	( 可 售出量 )")
    private Double remainNums;

    @ApiModelProperty(value = "details详情")
    private String details;

    @ApiModelProperty(value = "默认商品余量")
    private Double defaultRemain;

    @ApiModelProperty(value = "最少起售 单位 克g")
    private double minSales;
}
